import { useSearchParams } from "react-router-dom";
import { HeaderNav } from "../home/index.tsx";



function Home() {
    return (
        <div className="bodyContent">
            <HeaderNav title="搜索" />
            <Body />
        </div>
    )
}

function Body() {
    const [searchParams] = useSearchParams();
    const keyword = searchParams.get("keyword");
    return (
        <div>
            {keyword}
        </div>
    )
}

export default Home;